package dao;

import entity.User;

import java.util.Date;
import java.util.List;

public interface IUserDao {
    boolean addUser(User user);

    boolean deleteUser(String userId);

    boolean updateUser(User user);

    User getUserById(String userId);

    User getUserByUsername(String username);

    List<User> getAllUsers();

    User login(String username, String password);
}